Biomechanics of step initiation after balance recovery with implications for humanoid robot locomotion